package cn.siques.backend.properties;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

/**
 * @author he
 * @date 2021/11/23
 */
@Data
@ConfigurationProperties(prefix = "spring.oss")
public class OssProperties {


    /**
     * 端点
     */
    protected String endpoint;

    protected String stsEndpoint;

    /**
     * 生成的文件路径前缀
     */
    protected String urlPre;
    /**
     * 仓库名称
     */
    protected String bucketName;
    /**
     *
     */
    protected String accessKeyId;

    protected String accessKeySecret;

    protected String stsAccessKeyId;

    protected String stsAccessKeySecret;



    protected String profile;
}
